home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / EVISION1.ARJ / SCREEN.HPP < prev    next >
C/C++ Source or Header  |  1992-05-19  |  2KB  |  50 lines

  1. #if !defined (SCREEN)                     // To prevent multiple declarations
  2. #define SCREEN
  3.  
  4. // ---- Library Header Files ------------------------------------------------
  5.  
  6. #include <conio.h>
  7. #include <stdio.h>
  8.  
  9.  
  10. // ---- Typedefs ------------------------------------------------------------
  11.  
  12. struct cur_info
  13. {
  14.    unsigned char attribute ;                                // Text attribute
  15.    unsigned char curx ;                     // X coordinate in current window
  16.    unsigned char cury ;                     // Y coordinate in current window
  17.    unsigned int  curtype ;                                    // Cursor shape
  18. } ;
  19.  
  20.  
  21. // ---- Prototypes ----------------------------------------------------------
  22.  
  23. void far savevideo               // Save all video informations except cursor
  24.  
  25. ( text_info huge *ti,                            // Ptr to a text_info struct
  26.   char huge*huge *savedscr=NULL                     // Ptr to a huge char ptr
  27. ) ;
  28.  
  29.  
  30. void far restorevideo         // Restore all video informations except cursor
  31.  
  32. ( text_info huge *ti,                            // Ptr to a text_info struct
  33.   char huge*huge *savedscr=NULL                     // Ptr to a huge char ptr
  34. ) ;
  35.  
  36.  
  37. void far savecursor                             // Save all cursor attributes
  38.  
  39. ( cur_info huge *ci ) ;                           // Ptr to a cur_info struct
  40.  
  41.  
  42. void far restorecursor                       // Restore all cursor attributes
  43.  
  44. ( cur_info huge *ci ) ;                           // Ptr to a cur_info struct
  45.  
  46.  
  47. // ---- End Header File -----------------------------------------------------
  48.  
  49. #endif
  50.